Bug 680822 — Document return value of GtkWidget::draw
authorPhilip Withnall <philip@tecnocode.co.uk>
Mon, 30 Jul 2012 10:38:59 +0000 (12:38 +0200)
committerPhilip Withnall <philip@tecnocode.co.uk>
Mon, 30 Jul 2012 14:12:06 +0000 (16:12 +0200)
Document the boolean accumulator used by GtkWidget::draw and a few other
GtkWidget signals.

Closes: https://bugzilla.gnome.org/show_bug.cgi?id=680822
gtk/gtkwidget.c

index c7a2342b3b2003862b7201598844e5e92ee3a246..14b53ed30bbdcfb21317285cdd096989014b0edd 100644 (file)
@@ -1721,6 +1721,9 @@ gtk_widget_class_init (GtkWidgetClass *klass)
    * restore it. The signal emission takes care of calling cairo_save()
    * before and cairo_restore() after invoking the handler.
    *
+   * Returns: %TRUE to stop other handlers from being invoked for the event.
+   % %FALSE to propagate the event further.
+   *
    * Since: 3.0
    */
   widget_signals[DRAW] =
@@ -1739,6 +1742,9 @@ gtk_widget_class_init (GtkWidgetClass *klass)
    * GtkWidget::mnemonic-activate:
    * @widget: the object which received the signal.
    * @arg1:
+   *
+   * Returns: %TRUE to stop other handlers from being invoked for the event.
+   * %FALSE to propagate the event further.
    */
   widget_signals[MNEMONIC_ACTIVATE] =
     g_signal_new (I_("mnemonic-activate"),
@@ -3037,6 +3043,9 @@ gtk_widget_class_init (GtkWidgetClass *klass)
    * GtkWidget::show-help:
    * @widget: the object which received the signal.
    * @help_type:
+   *
+   * Returns: %TRUE to stop other handlers from being invoked for the event.
+   * %FALSE to propagate the event further.
    */
   widget_signals[SHOW_HELP] =
     g_signal_new (I_("show-help"),